<?php

namespace app\admin\model;

use app\common\model\Admin;

class Integral extends Admin
{
    public function integraldetailed()
    {
        return $this->hasMany('integraldetailed');
    }
    public function order()
    {
        return $this->belongsTo('order');
    }
    public function user()
    {
        return $this->belongsTo('user');
    }
}
